//
//  ITUploadManager.h
//  InTubePro
//
//  Created by seven on 2020/1/8.
//  Copyright © 2020 seven. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "ITImagePicker.h"

NS_ASSUME_NONNULL_BEGIN

typedef void(^UploadCallBack)(UIImage * IT_NULLABLE image, NSString * IT_NULLABLE imageUrl);

@interface ITUploadManager : NSObject

+ (instancetype)shareManager;

/**上传图片*/
- (void)uploadImage:(UIImage *)image callback:(void(^)(NSString * IT_NULLABLE imageUrl))callback;


- (void)selectImageScene:(ITImageScene)scene callBcak:(UploadCallBack)callback;

- (void)selectImageScene:(ITImageScene)scene pickType:(ImagePickerType)type callBcak:(UploadCallBack)callback;

@end

NS_ASSUME_NONNULL_END
